﻿// Learn more about F# at http://fsharp.org

open System
open SelfIdentifier

[<EntryPoint>]
let main argv =
    printfn "Hello World from F#!"  
    ActivePattern.Test
    OptionAndTuple.Test
    let x = MyClass1(5)

    ClassTest.Class4() |> ignore

    ExtentionTest.Num(5).Print()
    printfn ""

    AsyncTest.OneFuncAsyncTest |> ignore


    printfn "%s" SeqTest.r

    let json = JsonTest.deserialize
    printfn "json: {A: %d, B: %s, C: [%d, %d]}" json.A json.B json.C.[0] json.C.[1]

    json.A <- 1000
    json.B <- "def"
    printfn "%s" (JsonTest.serialize(json))

    
    0 // return an integer exit code


    